﻿@model RonYee.Models.MvcPage
@{
    ViewBag.Title = "Index";
    Layout = null;
}

<div class="box_padding" id="content">
@using (Html.BeginForm("PageIndex", "Financial", FormMethod.Post))
 { 
    <h3><i class="ui-icons"></i>财务记录</h3>
    <div class="box_top ui-icons"></div>
    <div class="box_bg"><div class="box_padding">
    <div class="border_line">

<table width="100%" border="0" cellpadding="0" cellspacing="0">
   <tbody>
    <tr>
        <th class="tdName">
            编号
        </th>
        <th class="tdName">
            订单编号
        </th>
        <th class="tdName">
            收入
        </th>
        <th class="tdName">
            财务费用
        </th>
        <th class="tdName">
            编辑者
        </th>
        <th class="tdName">
            完成时间
        </th>
        <th class="tdName">
            详细
        </th>
    </tr>

@foreach (RonYee.Models.Financial item in Model.FinancialList)
{
    <tr>
        <td class="tdData">
            @Html.DisplayFor(modelItem => item.Id)
        </td>
        <td class="tdData">
            @Html.DisplayFor(modelItem => item.OrderId)
        </td>
        <td class="tdData">
            @Html.DisplayFor(modelItem => item.Total)
        </td >
        <td class="tdData">
            @Html.DisplayFor(modelItem => item.FinancialCost)
        </td >
        <td class="tdData">
            @Html.DisplayFor(modelItem => item.Editor)
        </td>
        <td class="tdData">
            @Html.DisplayFor(modelItem => item.AddTime)
        </td>
        <td class="tdData">
            @Html.ActionLink("详细", "Details", new { id = item.Id })
        </td>
    </tr>
}
  </tbody>
</table>
<center>@Html.Partial("~/Views/Shared/_PageIndex.cshtml", Model)</center> 
</div>
</div></div>
    <div class="box_down ui-icons"></div>
 }
</div>
<div class="line_top"></div>
